﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MedicalAdviser.DataTypes.DomainObjects
{

    public class PagElement<T>
    {
        public T Id { get; set; }
        public int Page { get; set; }
        public int TotalPage { get; set; }
    }


    public class Pagging<T>
    {
        public int TotalPage { get; set; } 
        public int ActualPage { get; set; } 
        public PagElement<T>[] Results { get; set; } 

        //public PagElement<T>[] GetPage(int page)
        //{
            
        //    //Parallel.ForEach(  )

        //}


    }
}
